package com.example.javabasic.shejimoshi.gongchangfangfa.demo1;
//具体工厂A
public class ConcreteFactoryA implements AbstractFactory {
    @Override
    public Product newProduct() {
        System.out.println("具体工厂A -> 具体产品A");
        return new ConcreteProductA();
    }
}
